package worklog.dto;


public class HolidayDTO {
	private String name;
	private String date;
	private String weekday;
	
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDate() {
		return date;
	}
	public void setDate(String date) {
		this.date = date;
	}
	public String getWeekday() {
		return weekday;
	}
	public void setWeekday(String weekday) {
		this.weekday = weekday;
	}
	public void setWeekday(int weekday) {
		String[] week = { "error", "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" };
		this.weekday = week[weekday];
	}
	
}
